package cn.mesmile.lock.model.packet.service.impl;

import cn.mesmile.lock.model.packet.entity.RedPacketInfo;
import cn.mesmile.lock.model.packet.mapper.RedPacketInfoMapper;
import cn.mesmile.lock.model.packet.service.RedPacketInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author zb
 * @date 2020/12/26 17:18
 * @Description
 */
@Transactional(propagation = Propagation.SUPPORTS,readOnly = true,rollbackFor = Exception.class)
@Service
public class RedPacketInfoServiceImpl extends ServiceImpl<RedPacketInfoMapper, RedPacketInfo> implements RedPacketInfoService {

    private final RedPacketInfoMapper redPacketInfoMapper;

    public RedPacketInfoServiceImpl(RedPacketInfoMapper redPacketInfoMapper) {
        this.redPacketInfoMapper = redPacketInfoMapper;
    }



}
